package com.imooc.product.dto;

import lombok.Data;

/**
 * Description: 购物车DTO
 * Project: product <br />
 * ClassName: CartDTO <br />
 * Copyright: Copyright (c) 2018 deshang<br />
 *
 * @author Wang Shaopeng
 * @date 2018/12/26 22:24
 * @modifier
 * @modifyContent
 */
@Data
public class CartDTO {


    /**
     * 商品id
     */
    private String productId;

    /**
     * 商品数量
     */
    private Integer productQuantity;

    public CartDTO() {
    }

    public CartDTO(String productId, Integer productQuantity) {
        this.productId = productId;
        this.productQuantity = productQuantity;
    }
}
